<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    

    <script>
        // 定义数组
        var arr1 = [10,100,1000]

        
        function map(arr){
            // 循环遍历数组数据乘1.3
            for(var i = 0;i <arr.length;i++){
                arr[i] *= 1.3
            }

            // 打印
            return arr
        }

       console.log(map(arr1));
       
        
    </script>
</body>
</html>